From: Richard M. Stallman Date: Sat, 28 May 1994 02:06:50 +0000 (+0000) Subject: (difftm): Don't store a long value into an int variable. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~91352 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=68a49b1802d9e6d3667b149876114c351b138f3a;p=emacs.git (difftm): Don't store a long value into an int variable. --- diff --git a/src/editfns.c b/src/editfns.c index 28036650c92..8b0158c322b 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -629,7 +629,7 @@ difftm (a, b) int ay = a->tm_year + (TM_YEAR_ORIGIN - 1); int by = b->tm_year + (TM_YEAR_ORIGIN - 1); /* Some compilers can't handle this as a single return statement. */ - int days = ( + long days = ( /* difference in day of year */ a->tm_yday - b->tm_yday /* + intervening leap days */